package com.hujing.eventpublish.listener;

import com.hujing.eventpublish.event.BizEvent;
import org.springframework.stereotype.Component;

@Component
public class NoticeListener implements BizEventListener {

    @Override
    public void invokeEvent(BizEvent event) {
        System.out.println("监听器监听到事件：" + event.toString());
    }
}
